#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QDir>

namespace Ui {
   class MainWindow;
}

class MainWindow : public QMainWindow
{
   Q_OBJECT

public:
   explicit MainWindow(QWidget *parent = 0);
   ~MainWindow();

private:
   Ui::MainWindow *ui;
   QFileInfoList::Iterator currentPicture;
   QFileInfoList files;

   void loadFileList();
   void setImage();
   QString getText();

private slots:
   void on_prevButton_clicked();
   void on_reloadFilesButton_clicked();
   void on_nextButton_clicked();
};

#endif // MAINWINDOW_H
